<template>
  <div class="wft-w-h-100">
    <el-divider
      :direction="attrs.direction == 'row' ? 'horizontal' : 'vertical'"
      :border-style="attrs.dashed ? 'dashed' : 'solid'"
    />
  </div>
</template>
<script setup lang='ts'>
import { useAttrs } from 'generator/hooks'

const props = defineProps<{
  panelJson: TPanel
  curComp: TComp
}>()

const attrs = useAttrs(props.curComp.attrs)
</script>
<style scoped>
.wft-w-h-100 {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
</style>